package cn.jichangxiu.auth.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.security.core.GrantedAuthority;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Auth implements GrantedAuthority {

    private String authCode;

    @Override
    public String getAuthority() {
        return authCode;
    }
}
